/**
 * Предоставляет расширенную информацию о релизе.
 * Добавляет к основной информации треклист.
 * @author tub
 */
public class Tracklist extends Release
{

    public Tracklist(Release release, Track[] tracklist)
    {
        super(release.getID(), release.getCat(), release.getPerformer(), release.getTitle(),
                release.getOptions(), release.getDate(), release.getGenre(), release.getLabel(),
                release.getCountry(), release.getInfo());
        this.tracklist = tracklist;
    }

    public Tracklist(String id, String cat, Performer[] performer, String title, String options, String date,
            String genre, Label[] label, String country, String info, Track[] tracklist)
    {
        super(id, cat, performer, title, options, date, genre, label, country, info);
        this.tracklist = tracklist;
    }

    public Track[] getTracklist()
    {
        return tracklist;
    }

    public void setTracklist(Track[] tracklist)
    {
        this.tracklist = tracklist;
    }

    private Track[] tracklist;
}
